import {createApp,h} from 'vue';
import App from './App.vue';
import TsCard from './components/TsCard.vue';

// const app = createApp({
//   // template:'<div>hello <b>jack</b></div>',
//   render:()=>{
//     return h('div',['hello',h('b',['jack'])])
//   }
// });

const app = createApp(App)

app.config.errorHandler = (err) => {
  /*处理错误*/
  console.log(err);
}

// app.component('TsCard',TsCard)

app.mount('#app')